<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Thymeleaf入门到发疯</title>
</head>
<body>
<h1 th:text="${msg}">欢迎光临：${msg2}</h1>
<h1 th:text="${msg2}">欢迎光临</h1>
</body>
</html>